GrapeCity SPREAD for WPF 2.0J
InsertItem メソッド (NotifyCollection<T>)

項目を挿入する位置の 0 から始まるインデックス。
挿入するオブジェクト。
コレクション内の指定したインデックスに項目を挿入します。
構文
'Declaration
 
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal item As T _
) 
protected override void InsertItem( 
   int index,
   T item
)

パラメータ

index
項目を挿入する位置の 0 から始まるインデックス。
item
挿入するオブジェクト。
例外
例外説明
System.InvalidOperationExceptionコレクションがロックされています。
System.ArgumentOutOfRangeExceptionindex がコレクションのサイズを超えています。
System.ArgumentNullExceptionitem が null 参照 (Visual Basicでは Nothing) です。
参照

NotifyCollection<T> クラス
NotifyCollection<T> メンバ

 

 


Copyright © 2012 GrapeCity inc. All rights reserved.